300
How do I change the cell's foreground color
axG2antt1.Columns.Add("C1");
axG2antt1.Columns.Add("C2");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellValue(h,1,"Cell 2");
	var_Items.set_CellForeColor(h,1,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));

299
How do I change the visual effect for the cell, using your EBN files
axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axG2antt1.Columns.Add("C1");
axG2antt1.Columns.Add("C2");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellValue(h,1,"Cell 2");
	var_Items.set_CellBackColor(h,1,0x1000000);

298
How do I change the cell's background color
axG2antt1.Columns.Add("C1");
axG2antt1.Columns.Add("C2");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellValue(h,1,"Cell 2");
	var_Items.set_CellBackColor(h,1,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));

297
How do I change the caption or value for a particular cell
axG2antt1.Columns.Add("C1");
axG2antt1.Columns.Add("C2");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Cell 1"),1,"Cell 2");

296
How do I get the handle of the cell
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_CellBold(null,var_Items.get_ItemCell(h,0),true);

295
How do I retrieve the focused item
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items.FocusItem,true);

294
How do I get the number or count of child items
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.AddItem(var_Items.get_ChildCount(h));

293
How do I enumerate the visible items
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.set_ItemBold(var_Items.FirstVisibleItem,true);
	var_Items.set_ItemBold(var_Items.get_NextVisibleItem(var_Items.FirstVisibleItem),true);

292
How do I enumerate the siblings items
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.set_ItemBold(var_Items.get_NextSiblingItem(var_Items.FirstVisibleItem),true);
	var_Items.set_ItemBold(var_Items.get_PrevSiblingItem(var_Items.get_NextSiblingItem(var_Items.FirstVisibleItem)),true);

291
How do I get the parent item
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items.get_ItemParent(var_Items.get_ItemChild(h)),true);

290
How do I get the first child item
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items.get_ItemChild(h),true);

289
How do I enumerate the root items
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ItemBold(var_Items.get_RootItem(0),true);
	var_Items.set_ItemUnderline(var_Items.get_RootItem(1),true);

288
I have a hierarchy, how can I count the number of root items
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.AddItem(var_Items.RootCount);

287
How can I make an item unselectable, or not selectable
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("unselectable - you can't get selected");
	var_Items.set_SelectableItem(h,false);
	var_Items.AddItem("selectable");

286
How can I hide or show an item
axG2antt1.Columns.Add("Column");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("hidden");
	var_Items.set_ItemHeight(h,0);
	var_Items.set_SelectableItem(h,false);
	var_Items.AddItem("visible");

285
How can I change the height for all items
axG2antt1.DefaultItemHeight = 32;
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem("One");
axG2antt1.Items.AddItem("Two");

284
How do I change the height of an item
axG2antt1.ScrollBySingleLine = true;
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_ItemHeight(var_Items.AddItem("height"),128);
axG2antt1.Items.AddItem("enabled");

283
How do I disable or enable an item
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_EnableItem(var_Items.AddItem("disabled"),false);
axG2antt1.Items.AddItem("enabled");

282
How do I display as strikeout a cell
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellStrikeOut(var_Items.AddItem("strikeout"),0,true);

281
How do I display as strikeout a cell or an item
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValueFormat(var_Items.AddItem("gets <s>strikeout</s> only a portion of text"),0,EXG2ANTTLib.ValueFormatEnum.exHTML);

280
How do I display as strikeout an item
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_ItemStrikeOut(var_Items.AddItem("strikeout"),true);

279
How do I underline a cell
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellUnderline(var_Items.AddItem("underline"),0,true);

278
How do I underline a cell or an item
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValueFormat(var_Items.AddItem("gets <u>underline</u> only a portion of text"),0,EXG2ANTTLib.ValueFormatEnum.exHTML);

277
How do I underline an item
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_ItemUnderline(var_Items.AddItem("underline"),true);

276
How do I display as italic a cell
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellItalic(var_Items.AddItem("italic"),0,true);

275
How do I display as italic a cell or an item
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValueFormat(var_Items.AddItem("gets <i>italic</i> only a portion of text"),0,EXG2ANTTLib.ValueFormatEnum.exHTML);

274
How do I display as italic an item
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_ItemItalic(var_Items.AddItem("italic"),true);

273
How do I bold a cell
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellBold(var_Items.AddItem("bold"),0,true);

272
How do I bold a cell or an item
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValueFormat(var_Items.AddItem("gets <b>bold</b> only a portion of text"),0,EXG2ANTTLib.ValueFormatEnum.exHTML);

271
How do I bold an item
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_ItemBold(var_Items.AddItem("bold"),true);

270
How do I change the foreground color for the item
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_ItemForeColor(hC,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

269
How do I change the visual appearance for the item, using your EBN technology

axG2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_ItemBackColor(hC,0x1000000);
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

268
How do I change the background color for the item
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	int hC = var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_ItemBackColor(hC,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

267
How do I expand or collapse an item
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

266
How do I associate an extra data to an item
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_ItemData(var_Items.AddItem("item"),"your extra data");

265
How do I get the number or count of items
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
	var_Items1.AddItem(var_Items1.ItemCount);

264
How can I specify the width of the ActiveX control, when using the InsertControlItem property
axG2antt1.ScrollBySingleLine = false;
axG2antt1.TreeColumnIndex = 1;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
axG2antt1.Columns.Add("C1");
axG2antt1.Columns.Add("C2");
axG2antt1.Columns.Add("C3");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.InsertControlItem(null,"MSCAL.Calendar",null);
	var_Items.set_ItemWidth(h,128);
	var_Items.set_CellValue(h,0,"This is a bit of text that is shown in the first column");
	var_Items.set_CellSingleLine(h,0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
	var_Items.set_CellValue(h,2,"This is a bit of text that is shown in the third column");
	var_Items.set_CellSingleLine(h,2,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);

263
How can I put the ActiveX control in a different column, when using the InsertControlItem property
axG2antt1.ScrollBySingleLine = false;
axG2antt1.DrawGridLines = EXG2ANTTLib.GridLinesEnum.exAllLines;
axG2antt1.Columns.Add("C1");
axG2antt1.Columns.Add("C2");
axG2antt1.Columns.Add("C3");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.InsertControlItem(null,"MSCAL.Calendar",null);
	var_Items.set_CellValue(h,0,"This is a bit of text that is shown in the first column");
	var_Items.set_CellSingleLine(h,0,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
	var_Items.set_ItemWidth(h,-32001);
	var_Items.set_CellValue(h,2,"This is a bit of text that is shown in the third column");
	var_Items.set_CellSingleLine(h,2,EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);

262
Is there any function I can use to get the program or the control identifier I've been using when called the InsertControlItem
axG2antt1.Columns.Add("Default");
axG2antt1.ScrollBySingleLine = false;
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.InsertControlItem(null,"MSCAL.Calendar",null);
	var_Items.InsertItem(h,null,var_Items.get_ItemControlID(h));
	var_Items.set_ExpandItem(h,true);
	h = var_Items.InsertControlItem(null,"MSChart20Lib.MSChart",null);
	var_Items.set_ItemAppearance(h,EXG2ANTTLib.AppearanceEnum.Etched);
	var_Items.InsertItem(h,null,var_Items.get_ItemControlID(h));
	var_Items.set_ExpandItem(h,true);

261
How can I change the height of newly created ActiveX control, using the InsertControlItem
axG2antt1.Columns.Add("Default");
axG2antt1.ScrollBySingleLine = false;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_ItemHeight(var_Items.InsertControlItem(null,"MSCAL.Calendar",null),64);
	var_Items.set_ItemAppearance(var_Items.InsertControlItem(null,"MSChart20Lib.MSChart",null),EXG2ANTTLib.AppearanceEnum.Etched);

260
How can I change the border for newly created ActiveX control, using the InsertControlItem
axG2antt1.Columns.Add("Default");
axG2antt1.ScrollBySingleLine = false;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_ItemAppearance(var_Items.InsertControlItem(null,"MSCAL.Calendar",null),EXG2ANTTLib.AppearanceEnum.Sunken);
	var_Items.set_ItemAppearance(var_Items.InsertControlItem(null,"MSChart20Lib.MSChart",null),EXG2ANTTLib.AppearanceEnum.Etched);

259
How can I access the properties and methods for an ActiveX control that I've just added using the InsertControlItem
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	// Add 'Microsoft Calendar Control 2007(MSCAL.OCX)' reference to your project.
	MSACAL.Calendar var_Calendar = (var_Items.get_ItemObject(var_Items.InsertControlItem(h,"MSCAL.Calendar",null)) as MSACAL.Calendar);
		var_Calendar.BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255));
		var_Calendar.GridCellEffect = 0;
		var_Calendar.ShowTitle = false;
		var_Calendar.ShowDateSelectors = false;
	var_Items.set_ExpandItem(h,true);

258
How can I access the properties and methods for an ActiveX control that I've just added using the InsertControlItem
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	// Add 'Microsoft Calendar Control 2007(MSCAL.OCX)' reference to your project.
	MSACAL.Calendar var_Calendar = (var_Items.get_ItemObject(var_Items.InsertControlItem(h,"MSCAL.Calendar",null)) as MSACAL.Calendar);
		var_Calendar.BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255));
	var_Items.set_ExpandItem(h,true);

257
How can I insert an ActiveX control
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertControlItem(h,"MSCAL.Calendar",null);
	var_Items.set_ExpandItem(h,true);

256
How can I change at runtime the parent of the item
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int hP = var_Items.AddItem("Root");
	int hC = var_Items.AddItem("Child");
	var_Items.SetParent(hC,hP);

255
How can I sort the items
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
axG2antt1.Columns["Default"].SortOrder = EXG2ANTTLib.SortOrderEnum.SortDescending;

254
How do I sort the child items
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.SortChildren(h,0,false);

253
How can I ensure or scroll the control so the item fits the control's client area
axG2antt1.Columns.Add("Default");
int h = axG2antt1.Items.AddItem("item");
axG2antt1.Items.EnsureVisibleItem(h);

252
How can I remove or delete all items
axG2antt1.Columns.Add("Default");
axG2antt1.Items.AddItem("removed item");
axG2antt1.Items.RemoveAllItems();

251
How can I remove or delete an item
axG2antt1.Columns.Add("Default");
int h = axG2antt1.Items.AddItem("removed item");
axG2antt1.Items.RemoveItem(h);

250
How can I add or insert child items
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.Columns.Add("C1");
axG2antt1.Columns.Add("C2");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellValue(h,1,"Cell 2");
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Cell 3"),1,"Cell 4");
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Cell 5"),1,"Cell 6");
	var_Items.set_ExpandItem(h,true);

249
How can I add or insert a child item
axG2antt1.LinesAtRoot = EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
axG2antt1.Columns.Add("Default");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.InsertItem(var_Items.AddItem("root"),null,"child");

248
How can I add or insert an item
axG2antt1.Columns.Add("C1");
axG2antt1.Columns.Add("C2");
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Cell 1"),1,"Cell 2");
	int h = var_Items.AddItem("Cell 3");
	var_Items.set_CellValue(h,1,"Cell 4");

247
How can I add or insert an item
axG2antt1.Columns.Add("Default");
axG2antt1.Items.AddItem("new item");

246
How can I get the columns as they are shown in the control's sortbar
Object var_Object = (axG2antt1.Columns.get_ItemBySortPosition(0) as Object);

245
How can I access the properties of a column
axG2antt1.Columns.Add("A");
axG2antt1.Columns["A"].HeaderBold = true;

244
How can I remove all the columns
axG2antt1.Columns.Clear();

243
How can I remove a column
axG2antt1.Columns.Remove("A");

242
How can I get the number or the count of columns
int var_Count = axG2antt1.Columns.Count;

241
How can I change the font for all cells in the entire column
stdole.IFontDisp f = new stdole.StdFont() as stdole.IFontDisp;
	f.Name = "Tahoma";
	f.Size = 12;
EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = axG2antt1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.Font = (f as stdole.IFontDisp);
	var_ConditionalFormat.ApplyTo = EXG2ANTTLib.FormatApplyToEnum.exFormatToColumns;
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

240
How can I change the background color for all cells in the column
EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = axG2antt1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
	var_ConditionalFormat.ApplyTo = EXG2ANTTLib.FormatApplyToEnum.exFormatToColumns;
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

239
How can I change the foreground color for all cells in the column
EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = axG2antt1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
	var_ConditionalFormat.ApplyTo = EXG2ANTTLib.FormatApplyToEnum.exFormatToColumns;
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

238
How can I show as strikeout all cells in the column
EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = axG2antt1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.StrikeOut = true;
	var_ConditionalFormat.ApplyTo = EXG2ANTTLib.FormatApplyToEnum.exFormatToColumns;
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

237
How can I underline all cells in the column
EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = axG2antt1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.Underline = true;
	var_ConditionalFormat.ApplyTo = EXG2ANTTLib.FormatApplyToEnum.exFormatToColumns;
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

236
How can I show in italic all data in the column
EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = axG2antt1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.Italic = true;
	var_ConditionalFormat.ApplyTo = EXG2ANTTLib.FormatApplyToEnum.exFormatToColumns;
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

235
How can I bold the entire column
EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = axG2antt1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.ApplyTo = EXG2ANTTLib.FormatApplyToEnum.exFormatToColumns;
axG2antt1.Columns.Add("Column");
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

234
How can I display a computed column and highlight some values that are negative or less than a value
axG2antt1.Columns.Add("A");
axG2antt1.Columns.Add("B");
(axG2antt1.Columns.Add("(A+B)*1.19") as EXG2ANTTLib.Column).ComputedField = "(dbl(%0) + dbl(%1)) * 1.19";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(1),1,2);
EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
	var_Items1.set_CellValue(var_Items1.AddItem(10),1,20);
EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = axG2antt1.ConditionalFormats.Add("dbl(%2) > 10",null);
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
	var_ConditionalFormat.ApplyTo = (EXG2ANTTLib.FormatApplyToEnum)0x2;

233
Can I display a computed column so it displays the VAT, or SUM
axG2antt1.Columns.Add("A");
axG2antt1.Columns.Add("B");
(axG2antt1.Columns.Add("(A+B)*1.19") as EXG2ANTTLib.Column).ComputedField = "(dbl(%0) + dbl(%1)) * 1.19";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(1),1,2);
EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
	var_Items1.set_CellValue(var_Items1.AddItem(10),1,20);

232
How can I show a column that adds values in the cells
axG2antt1.Columns.Add("A");
axG2antt1.Columns.Add("B");
(axG2antt1.Columns.Add("A+B") as EXG2ANTTLib.Column).ComputedField = "dbl(%0) + dbl(%1)";
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(1),1,2);
EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
	var_Items1.set_CellValue(var_Items1.AddItem(10),1,20);

231
Is there any function to filter the control's data as I type, so the items being displayed include the typed characters
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Filter") as EXG2ANTTLib.Column);
	var_Column.FilterOnType = true;
	var_Column.DisplayFilterButton = true;
	var_Column.AutoSearch = EXG2ANTTLib.AutoSearchEnum.exContains;
axG2antt1.Items.AddItem("Canada");
axG2antt1.Items.AddItem("USA");

230
Is there any function to filter the control's data as I type, something like filter on type
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Filter") as EXG2ANTTLib.Column);
	var_Column.FilterOnType = true;
	var_Column.DisplayFilterButton = true;
axG2antt1.Items.AddItem("Canada");
axG2antt1.Items.AddItem("USA");

229
How can I programmatically filter a column
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Filter") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = EXG2ANTTLib.FilterTypeEnum.exNonBlanks;
axG2antt1.Items.AddItem(null);
axG2antt1.Items.AddItem("not empty");
axG2antt1.ApplyFilter();

228
How can I show or display the control's filter
(axG2antt1.Columns.Add("Filter") as EXG2ANTTLib.Column).DisplayFilterButton = true;

227
How can I customize the items being displayed in the drop down filter window
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Custom Filter") as EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.CustomFilter = "Excel Spreadsheets (*.xls )||*.xls|||Word Documents||*.doc|||Powerpoint Presentations||*.pps|||Text Documents (*.log,*.txt)||*." +
"txt|*.log";
	var_Column.FilterType = EXG2ANTTLib.FilterTypeEnum.exPattern;
	var_Column.Filter = "*.xls";
axG2antt1.Items.AddItem("excel.xls");
axG2antt1.Items.AddItem("word.doc");
axG2antt1.Items.AddItem("pp.pps");
axG2antt1.Items.AddItem("text.txt");
axG2antt1.ApplyFilter();

226
How can I change the order or the position of the columns in the sort bar
axG2antt1.SortBarVisible = true;
axG2antt1.SortBarColumnWidth = 48;
(axG2antt1.Columns.Add("C1") as EXG2ANTTLib.Column).SortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
(axG2antt1.Columns.Add("C2") as EXG2ANTTLib.Column).SortOrder = EXG2ANTTLib.SortOrderEnum.SortDescending;
axG2antt1.Columns["C2"].SortPosition = 0;

225
How do I arrange my columns on multiple levels
(axG2antt1.Columns.Add("S") as EXG2ANTTLib.Column).Width = 32;
(axG2antt1.Columns.Add("Level 2") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 3") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 4") as EXG2ANTTLib.Column).LevelKey = 1;
(axG2antt1.Columns.Add("Level 1") as EXG2ANTTLib.Column).LevelKey = "2";
(axG2antt1.Columns.Add("Level 2") as EXG2ANTTLib.Column).LevelKey = "2";
(axG2antt1.Columns.Add("Level 3") as EXG2ANTTLib.Column).LevelKey = "2";
(axG2antt1.Columns.Add("Level 4") as EXG2ANTTLib.Column).LevelKey = "2";
(axG2antt1.Columns.Add("E") as EXG2ANTTLib.Column).Width = 32;

224
How do I arrange my columns on multiple lines
axG2antt1.HeaderHeight = 32;
(axG2antt1.Columns.Add("") as EXG2ANTTLib.Column).HTMLCaption = "Line 1<br>Line 2";

223
How can I display all cells using HTML format
(axG2antt1.Columns.Add("HTML") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
axG2antt1.Items.AddItem("<font ;12>T</font>his <b>is</b> an <a>html</a> <font Tahoma><fgcolor=FF0000>text</fgcolor></font>.");

222
How can I display all cells using multiple lines
(axG2antt1.Columns.Add("MultipleLine") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellSingleLine,false);
(axG2antt1.Columns.Add("SingleLine") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellSingleLine,true);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("This is a bit of long text that should break the line"),1,"this is a bit of long text that's displayed on a single line");

221
How do change the vertical alignment for all cells in the column
(axG2antt1.Columns.Add("MultipleLine") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellSingleLine,false);
(axG2antt1.Columns.Add("VAlign") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellVAlignment,2);
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("This is a bit of long text that should break the line"),1,"bottom");
EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
	var_Items1.set_CellValue(var_Items1.AddItem("This is a bit of long text that should break the line"),1,"bottom");

220
How do change the foreground color for all cells in the column
(axG2antt1.Columns.Add("ForeColor") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellForeColor,255);
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

219
How do change the background color for all cells in the column
(axG2antt1.Columns.Add("BackColor") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellBackColor,255);
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

218
How do I show buttons for all cells in the column
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Button") as EXG2ANTTLib.Column);
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasButton,true);
	var_Column.set_Def(EXG2ANTTLib.DefColumnEnum.exCellButtonAutoWidth,true);
axG2antt1.Items.AddItem(" Button 1 ");
axG2antt1.Items.AddItem(" Button 2 ");

217
How do I show buttons for all cells in the column
(axG2antt1.Columns.Add("Button") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasButton,true);
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

216
How do I display radio buttons for all cells in the column
(axG2antt1.Columns.Add("Radio") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasRadioButton,true);
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

215
How do I display checkboxes for all cells in the column
(axG2antt1.Columns.Add("Check") as EXG2ANTTLib.Column).set_Def(EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

214
How can I display a tooltip when the cursor hovers the column
(axG2antt1.Columns.Add("tooltip") as EXG2ANTTLib.Column).ToolTip = "This is a bit of text that is shown when user hovers the column.";

213
Is there any function to assign a key to a column instead using its name or capion
(axG2antt1.Columns.Add("Data") as EXG2ANTTLib.Column).Key = "DKey";
axG2antt1.Columns["DKey"].Caption = "new caption";

212
Is there any function to assign any extra data to a column
(axG2antt1.Columns.Add("Data") as EXG2ANTTLib.Column).Data = "your extra data";

211
By default, the column gets sorted descending, when I first click its header. How can I change so the column gets sorted ascending when the user first clicks the column's header
(axG2antt1.Columns.Add("Sort") as EXG2ANTTLib.Column).DefaultSortOrder = true;

210
How can I specify the maximum width for the column, if I use WidthAutoResize property
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Auto") as EXG2ANTTLib.Column);
	var_Column.WidthAutoResize = true;
	var_Column.MinWidthAutoResize = 32;
	var_Column.MaxWidthAutoResize = 128;
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

209
How can I specify the minimum width for the column, if I use WidthAutoResize property
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Auto") as EXG2ANTTLib.Column);
	var_Column.WidthAutoResize = true;
	var_Column.MinWidthAutoResize = 32;
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

208
Is there any option to resize the column based on its data, captions
(axG2antt1.Columns.Add("A") as EXG2ANTTLib.Column).WidthAutoResize = true;
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);

207
How can I align the icon in the column's header in the center
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("") as EXG2ANTTLib.Column);
	var_Column.HeaderImage = 1;
	var_Column.HeaderImageAlignment = EXG2ANTTLib.AlignmentEnum.CenterAlignment;

206
How do I align the icon in the column's header to the right
axG2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("ColumnName") as EXG2ANTTLib.Column);
	var_Column.HeaderImage = 1;
	var_Column.HeaderImageAlignment = EXG2ANTTLib.AlignmentEnum.RightAlignment;

205
How do I show or hide the sorting icons, but still need sorting
(axG2antt1.Columns.Add("Sorted") as EXG2ANTTLib.Column).SortOrder = EXG2ANTTLib.SortOrderEnum.SortAscending;
axG2antt1.Columns[0].DisplaySortIcon = false;

204
How do I enable or disable the entire column
axG2antt1.Columns.Add("C1");
(axG2antt1.Columns.Add("Disabled") as EXG2ANTTLib.Column).Enabled = false;
EXG2ANTTLib.Items var_Items = axG2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(0),1,"0.1");
EXG2ANTTLib.Items var_Items1 = axG2antt1.Items;
	var_Items1.set_CellValue(var_Items1.AddItem(1),1,"1.1");

203
How do I disable drag and drop columns
(axG2antt1.Columns.Add("C1") as EXG2ANTTLib.Column).AllowDragging = false;
(axG2antt1.Columns.Add("C2") as EXG2ANTTLib.Column).AllowDragging = false;

202
How do I disable resizing a column at runtime
(axG2antt1.Columns.Add("Unsizable") as EXG2ANTTLib.Column).AllowSizing = false;
axG2antt1.Columns.Add("C2");
axG2antt1.Columns.Add("C3");
axG2antt1.Columns.Add("C4");

201
How can I align the column to the right, and its caption too
EXG2ANTTLib.Column var_Column = (axG2antt1.Columns.Add("Column") as EXG2ANTTLib.Column);
	var_Column.Alignment = EXG2ANTTLib.AlignmentEnum.RightAlignment;
	var_Column.HeaderAlignment = EXG2ANTTLib.AlignmentEnum.RightAlignment;
axG2antt1.Items.AddItem(0);
axG2antt1.Items.AddItem(1);